package com.woniuxy.service.impl;

import com.woniuxy.dao.MenuDao;
import com.woniuxy.entity.Menu;
import com.woniuxy.service.IMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author ylr
 * @time 2022/05/31 10:32:24
 */
@Service
public class MenuServiceImpl implements IMenuService {
    @Autowired
    MenuDao menuDao;

    @Override
    public List<Menu> findMenus(Integer id) {
        return menuDao.findMenus(id);
    }
}
